package com.ytjj.qmyx.users.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class UsersCoupon implements Serializable {
    private Integer id;

    /**
     * 券名称
     *
     * @mbg.generated
     */
    private String name;

    /**
     * 券描述
     *
     * @mbg.generated
     */
    private String desr;

    /**
     * 金额
     *
     * @mbg.generated
     */
    private BigDecimal money;

    /**
     * 被领取前的图片
     *
     * @mbg.generated
     */
    private String beforeImg;

    /**
     * 被领取后的图片
     *
     * @mbg.generated
     */
    private String afterImg;

    /**
     * 类型
     *
     * @mbg.generated
     */
    private String type;

    /**
     * 排序
     *
     * @mbg.generated
     */
    private Integer sort;

    /**
     * 状态：1上架 2下架
     *
     * @mbg.generated
     */
    private Byte status;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesr() {
        return desr;
    }

    public void setDesr(String desr) {
        this.desr = desr;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getBeforeImg() {
        return beforeImg;
    }

    public void setBeforeImg(String beforeImg) {
        this.beforeImg = beforeImg;
    }

    public String getAfterImg() {
        return afterImg;
    }

    public void setAfterImg(String afterImg) {
        this.afterImg = afterImg;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", desr=").append(desr);
        sb.append(", money=").append(money);
        sb.append(", beforeImg=").append(beforeImg);
        sb.append(", afterImg=").append(afterImg);
        sb.append(", type=").append(type);
        sb.append(", sort=").append(sort);
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}